﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TalksLog.Infrastructure.Unities;

namespace TalksLog.Domain.Account.Common
{
    internal static class PasswordConverter
    {
        internal static string GetPasswordWithSalt(string email, string password, int salt)
        {
            string originalStr = email + salt + password;
            string passwordWithSalt = HashHelper.GetMd5String(originalStr);

            return passwordWithSalt;
        }
    }
}
